package com.zelix;

import java.util.Comparator;
import java.util.Hashtable;

final class zg
    implements Comparator
{

    private final Hashtable a;

    zg(Hashtable hashtable)
    {
        a = hashtable;
    }

    public int compare(Object obj, Object obj1)
    {
        dy dy1 = (dy)obj;
        dy dy2 = (dy)obj1;
        String s = dy1.a();
        String s1 = dy2.a();
        int i = s.compareTo(s1);
        if(i == 0)
        {
            String s2 = ((lu)dy1.b()).q();
            String s3 = ((lu)dy2.b()).q();
            return dp.d(s2, a).compareTo(dp.d(s3, a));
        } else
        {
            return i;
        }
    }
}
